package businesslogic;

import java.util.Date;

public class EntityInfo{
	public EntityInfo(SentimentType sentimentType, Double relevance, Double score){
		this.sentimentType = sentimentType;
		this.relevance = relevance;
		this.score = score;
	}

	public enum SentimentType {
		POSITIVE, NEGATIVE, NEUTRAL;
	}
	private Double relevance;
	private Double score;
	private SentimentType sentimentType;
	private Date dateAdded;
	public Double getRelevance() {
		return relevance;
	}
	public void setRelevance(Double relevance) {
		this.relevance = relevance;
	}
	public Double getScore() {
		return score;
	}
	public void setScore(Double score) {
		this.score = score;
	}
	public SentimentType getSentimentType() {
		return sentimentType;
	}
	public void setSentimentType(SentimentType sentimentType) {
		this.sentimentType = sentimentType;
	}
	public String toString(){
		return "relevance: " + relevance + " sentiment type: " + sentimentType.name() + " score: " + score;
	}
}
